import axios from 'axios'
axios.defaults.baseURL = 'http://127.0.0.1:5000/api/'
export function http(config) {
  const newAxios = axios.create({
    baseURL: 'http://127.0.0.1:5000/api/'
  })
  return newAxios(config)
}
